#!/bin/bash
TBL=`/cygdrive/h/xampp/mysql/bin/mysql -u  root  jecard -e "show tables" | grep "jecard_[^ ]" | tr '\n' ' '`
/cygdrive/h/xampp/mysql/bin/mysqldump -d --comments=FALSE -u root jecard $TBL > schema.sql
/cygdrive/h/xampp/mysql/bin/mysqldump -t --extended-insert=FALSE --order-by-primary --comment=FALSE -u root jecard  $TBL > data.sql
